import cv2

img = cv2.imread("../images/lena.png")
cv2.imshow("image", img)

flip_img = cv2.flip(img,1)
cv2.imshow("flip image",flip_img)
cv2.waitKey(0)